import {useGet} from "@/utils/request";
import type {API, DynamicObject, IPage, PageParams} from "@/type/type";

export const listLicenseTypeAPI = (params: DynamicObject) => {
  return useGet<API.ILicenseType[]>('/licenseType/list', params)
}

export const pageLicenseTypeAPI = (params: PageParams) => {
  return useGet<IPage<API.ILicenseType>>('/licenseType/page', params)
}
